#include "selection.h"
using namespace std;

//************************************************************* Constructor

Selection::Selection(DrawingArea* drawingAreaUse) : ToolEffect(drawingAreaUse){
    isDrawingSelection = false;
    isSelectionEmpty = true;
    isDeselectionned = true;
}

//************************************************************* Get

bool Selection::getIsDeselectionned(){
    return isDeselectionned;
}

int Selection::getBeginX(){
    return xBegin;
}

int Selection::getBeginY(){

    return yBegin;
}

int Selection::getEndX(){

    return xEnd;
}

int Selection::getEndY(){
    return yEnd;
}

Layer* Selection::imageSelected(Layer* layer, int posX, int posY){
    return NULL;
}

void Selection::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget){
}



